/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const Router = {
  path: '/club_apply',
  component: Layout,
  name: 'ClubApplyManage',
  alwaysShow: true,
  meta: {
    title: '入团申请',
    icon: 'el-icon-folder-add'
  },
  children: [
    {
      name: 'ClubApplyList',
      path: 'club_apply_list',
      component: () => import('@/views/clubApply/applyManage/index.vue'),
      meta: {
        title: '入团申请列表',
        icon: 'yuan-red'
      }
    },
    {
      name: 'JoinClubFirstCheck',
      path: 'join_club_first_check',
      component: () => import('@/views/clubApply/joinClubFirstCheck/index.vue'),
      meta: {
        roles: ['admin', 'club_join_first_check'],
        title: '一级审核',
        icon: 'yuan-orange'
      }
    },
    {
      name: 'JoinClubSecondCheck',
      path: 'join_club_second_check',
      component: () => import('@/views/clubApply/joinClubSecondCheck/index.vue'),
      meta: {
        roles: ['admin', 'club_join_second_check'],
        title: '二级审核',
        icon: 'yuan-blue'
      }
    }
  ]
}
export default Router
